package com.xyf.pojo.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_car")
@ApiModel(value="汽车信息表", description="汽车信息表")
public class TbCar {

  @ApiModelProperty(value = "汽车Id")
  @TableId(value = "id" , type = IdType.AUTO)
  private Integer id;
  @ApiModelProperty(value = "汽车名")
  @TableField(value = "carName")
  private String carName;
  @ApiModelProperty(value = "汽车类型")
  private Integer type;
  @ApiModelProperty(value = "")
  private Integer brandId;
  @ApiModelProperty(value = "")
  private Integer configId;
  @ApiModelProperty(value = "简介")
  private String intro;
  @ApiModelProperty(value = "车辆标识码")
  private String vin;
  @ApiModelProperty(value = "购买价格")
  private Double buyPrice;
  @ApiModelProperty(value = "门店编号")
  private Double shopId;
  @ApiModelProperty(value = "车辆状态")
  private Integer state;
  @ApiModelProperty(value = "价格")
  private Double price;


}
